<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>租车-<{$setting.keywords}>-<{$setting.sitename}></title>
		<meta content="<{$setting.keywords}>" name="keywords" />
		<meta content="<{$setting.description}>" name="description" />
		<link href="<{$weburl}>/templates/default/<{$setting.templates}>/css/car.css" rel="stylesheet" type="text/css"/>
		<script type="text/javascript" src="<{$weburl}>/templates/default/<{$setting.templates}>/js/jquery-1.7.1.min.js"></script>
		<script type="text/javascript" src="<{$weburl}>/templates/default/<{$setting.templates}>/js/jcarousellite_1.0.1.min.js"></script>
		<script type="text/javascript" src="<{$weburl}>/templates/default/<{$setting.templates}>/js/jquery.easing.1.3.js"></script>
		<script language="JavaScript">
			$(function() {
				//品牌选择
				$("#brand").change(function(){
					$.get("<{$weburl}>/index.php?m=ajax&ajax=1", { 
						bid :  $("#brand").val() 
					}, function (data, textStatus){
						   $("#subbrand").html(data); // 把返回的数据添加到页面上
						}
					);
				});
				//热门车源
				$("#hotcar").load("<{$weburl}>/index.php?m=ajax&ajax=1&cartype=hot");
			})
		</script>
		</head>
	<body>
<!--内容--> 
<{include file="default/`$setting.templates`/head.html"}>
<div class="nav">您当前的位置：<a href="<{$weburl}>/">首页</a> <span>></span> 租车</div>
<div class="main clearfix mt10">
	<div class="main_left">
		<div class="search_box mb10">
			<div class="condition">
				<span class="fr pr10"><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/clear/<{else}>index.php?m=rentcar&clear=1<{/if}>" class="unl">清空条件</a></span>
				<span class="fl">您已选择：</span>
				<ul class="condition_list fl">
					<{if $smarty.cookies.area<>''}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/c_0<{else}>index.php?m=rentcar&c=c_0<{/if}>" class="condition"><{$cache.citylist[$smarty.cookies.area]}></a></li><{/if}>
					<{if $smarty.cookies.keywords<>''}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/k=<{else}>index.php?m=rentcar&k=<{/if}>" class="condition"><{$smarty.cookies.keywords}></a></li><{/if}>
					<{if $smarty.cookies.brand<> 0}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/b_0<{else}>index.php?m=rentcar&c=b_0<{/if}>" class="condition"><{$cache.brandlist[$smarty.cookies.brand]}></a></li><{/if}>
					<{if $smarty.cookies.subbrand<> 0}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/sb=0<{else}>index.php?m=rentcar&sb=0<{/if}>" class="condition"><{$subrandname}></a></li><{/if}>
					<{if $smarty.cookies.model<> 0}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/m_0<{else}>index.php?m=rentcar&c=m_0<{/if}>" class="condition"><{$cache.rentmodellist[$smarty.cookies.model]}></a></li><{/if}>
					<{if $smarty.cookies.price<>0}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/p_0<{else}>index.php?m=rentcar&c=p_0<{/if}>" class="condition"><{$arr_price[$smarty.cookies.price]}></a></li><{/if}>
				</ul>
			</div>
			<ul class="search_list">
				<form method="get" action="<{$weburl}>/index.php">
				<li>品 牌： <a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/b_0<{else}>index.php?m=rentcar&c=b_0<{/if}>" <{if $smarty.cookies.brand==0}>class="here"<{/if}>>全部</a><{foreach from=$arr_brand key=skey item=brandlist}><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/b_<{$skey}><{else}>index.php?m=rentcar&c=b_<{$skey}><{/if}>" <{if $smarty.cookies.brand==$skey}>class="here"<{/if}>><{$brandlist}></a><{/foreach}>
				<select id="brand" name="c">
					<{$selectbrandsearch}>
				</select>
				<select id="subbrand" name="sb">
					<option value="">请选择车系</option>
				</select>
				<input type="hidden" name="m" value="rentcar">
				<input type="submit" value="搜索" class="cbutton">
				</li>
				</form>
				<li>车 型： <a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/m_0<{else}>index.php?m=rentcar&c=m_0<{/if}>" <{if $smarty.cookies.model==0}>class="here"<{/if}>>全部</a><{foreach from=$cache.rentmodellist key=skey item=modellist}><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/m_<{$skey}><{else}>index.php?m=rentcar&c=m_<{$skey}><{/if}>" <{if $smarty.cookies.model==$skey}>class="here"<{/if}>><{$modellist}></a><{/foreach}></li>
				<li>价 格： <a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/p_0<{else}>index.php?m=rentcar&c=p_0<{/if}>"  <{if $smarty.cookies.price==0}>class="here"<{/if}>>全部</a><{foreach from=$arr_price key=skey item=pricelist}><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/p_<{$skey}><{else}>index.php?m=rentcar&c=p_<{$skey}><{/if}>" <{if $smarty.cookies.price==$skey}>class="here"<{/if}>><{$pricelist}></a><{/foreach}></li>
			</ul>
		</div>
		<{if $setting.version==2 or $setting.version==3}>
		<div class="cartype">
			<ul class="clearfix">
				<li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/f_0<{else}>index.php?m=rentcar&c=f_0<{/if}>" <{if $smarty.cookies.carfrom==0}>class="here"<{/if}>>全部信息</a></li>
				<li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/f_1<{else}>index.php?m=rentcar&c=f_1<{/if}>" <{if $smarty.cookies.carfrom==1}>class="here"<{/if}>>商家信息</a></li>
				<li><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/f_2<{else}>index.php?m=rentcar&c=f_2<{/if}>" <{if $smarty.cookies.carfrom==2}>class="here"<{/if}>>个人信息</a></li>
			</ul>
		</div>
		<{/if}>
		<div class="search_big_box">
			<div class="orderlist">
				<ul class="fl">
					<li <{if $smarty.cookies.order==1}>class="or04"<{elseif $smarty.cookies.order==2}>class="or03"<{else}>class="or02"<{/if}>><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/o=<{if $smarty.cookies.order==1}>2<{elseif $smarty.cookies.order==2}>1<{else}>2<{/if}><{else}>index.php?m=rentcar&order=<{if $smarty.cookies.order==1}>2<{elseif $smarty.cookies.order==2}>1<{else}>2<{/if}><{/if}>" >时间</a></li>
					<li <{if $smarty.cookies.order==3}>class="or04"<{elseif $smarty.cookies.order==4}>class="or03"<{else}>class="or02"<{/if}>><a href="<{$weburl}>/<{if $setting.ishtml==1}>rentcar/o=<{if $smarty.cookies.order==3}>4<{elseif $smarty.cookies.order==4}>3<{else}>3<{/if}><{else}>index.php?m=rentcar&order=<{if $smarty.cookies.order==3}>4<{elseif $smarty.cookies.order==4}>3<{else}>3<{/if}><{/if}>" >价格</a></li>
				</ul>
			</div>
			<div class="box">
				<{foreach from=$rentcarslist key=skey item=cars_list}>
					<div class="listrentcar clearfix">
						<div class="img">
							<a href="<{$cars_list.p_url}>" target="_blank"><{if $cars_list.p_mainpic<>""}><img src="<{$cars_list.p_mainpic}>"/><{else}><img src="<{$weburl}>/static/img/car.jpg"/><{/if}></a>
						</div>
						<div class="word">
							<p class="clearfix"><span class="carname fl"><a href="<{$cars_list.p_url}>" target="_blank"><{$cars_list.p_title}></a></span><span class="fl pt5"><{if $cars_list.ischeck==1}><span class="check01" title="商家车源"></span><{else}><span class="check02" title="个人车源"></span><{/if}><span class="check03" title="审核通过"></span></span></p>
							<p><{$cars_list.p_details}></p>
							<p>联系电话：</p>
						</div>
						<div class="price">
							<span class="orange01 fb f14 fr"><{$cars_list.dayprice}></span>
						</div>
					</div>
				<{/foreach}>
				<div class="page_list"><{$button_basic}></div>
			</div>
		</div>
	</div>
	<div class="main_right">
		<{include file="default/`$setting.templates`/hotrentcar.html" }>
	</div>
</div>
<{include file="default/`$setting.templates`/foot.html" }>
</body>
</html>